package team.seekers.hula.common.utils;

/**
 * 用于参数检查
 */
public class ParamCheckUtils {

    public static boolean isNotRightId(String id){
        if(id == null || id.length()!= 19){
            return true;
        }
        if(id.contains(" ")){
            return true;
        }
        for (int i = id.length();--i>=0;){
            if (!Character.isDigit(id.charAt(i))){
                return true;
            }
        }
        return false;
    }
}
